package org.example.fastproject.core.enums;

import lombok.Getter;

/**
 * @Author 王海舟
 * @Date 2023/1/18 11:37
 * @PackageName:org.example.fastproject.core.enums
 * @ClassName: RoleEnum
 * @Description: 角色
 * @Version 1.0
 */
@Getter
public enum RoleEnum {
    ADMIN(1L,"管理员"),
    USER(2L,"普通用户");

    private Long roleId;
    private String description;
    RoleEnum(Long roleId,String description){
        this.roleId = roleId;
        this.description = description;
    }
}
